from distutils.core import setup
import glob
import py2exe
import os,sys
import shutil

def myignore(src,name):
    return (['.svn',])

sys.argv.append('py2exe')

setup(windows=[{'script':'dtie.py',"icon_resources": [(1, "palm_32.png")]}],
data_files=["palm_32.png","dtie.exe.manifest",],
options = {'py2exe': {'bundle_files': 3,'compressed':2,'optimize':2,'includes': ['Crypto','twisted'],},
},
zipfile = "lib/library.zip",



)

#shutil.copytree('helpdoc','.\\dist\\helpdoc',ignore=myignore)